9226fd28f7a638cfc5243af6ec8df0f26ca24a4c,lib/src/main/java/com/auth0/android/lock/PasswordlessLockActivity.java,PasswordlessLockActivity,onOAuthAuthenticationRequest,#OAuthLoginEvent#,471

Before Change



        Log.d(TAG, "Couldn't find an specific provider, using the default: " + WebAuthProvider.class.getSimpleName());
        WebAuthProvider.init(options.getAccount())
                .useBrowser(options.useBrowser())
                .withConnectionScope(options.getConnectionsScope().get(event.getConnection()))
                .withParameters(options.getAuthenticationParameters())
                .withConnection(event.getConnection())
                .start(this, authProviderCallback, WEB_AUTH_REQUEST_CODE);

After Change



        Log.d(TAG, "Couldn't find an specific provider, using the default: " + WebAuthProvider.class.getSimpleName());
        final WebAuthProvider.Builder builder = WebAuthProvider.init(options.getAccount())
                .useBrowser(options.useBrowser())
                .withParameters(options.getAuthenticationParameters())
                .withConnection(event.getConnection());

        final String connectionScope = options.getConnectionsScope().get(event.getConnection());
        if (connectionScope != null) {
            builder.withConnectionScope(connectionScope);
        }
        builder.start(this, authProviderCallback, WEB_AUTH_REQUEST_CODE);
    }